package web.suzy.oj.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * YangSuzy 软件工作室
 * 类名: AdminEditUserDTO
 * 描述: 管理员修改用户数据传输对象
 * 功能: DTO(Data Transfer Object)通常用于展示层(Controller)和服务层(Service)之间的数据传输
 *
 * @author YangSuzy
 * Date: 2022/11/27 17:18
 */
@Data
public class AdminEditUserDTO {
    @NotBlank(message = "username不能为空")
    private String username;

    @NotBlank(message = "uid不能为空")
    private String uid;

    private String realname;

    private String email;

    private String password;

    private Integer type;

    private Integer status;

    private Boolean setNewPwd;
}
